package com.phiture.erp.purchase.core.pojo.vo;

import com.phiture.erp.purchase.dal.entity.ErpPurchaseRequestItemsDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 采购申请单新增/修改 Request VO")
@Data
public class ErpPurchaseRequestSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "897")
    private Long id;

    @Schema(description = "采购申请单编号")
    private String no;

    @Schema(description = "业务日期")
    private LocalDateTime bizDate;

    @Schema(description = "金额合计(不含税)")
    private BigDecimal totalAmount;

    @Schema(description = "申请人", example = "729")
    private Long personId;

    @Schema(description = "是否加急")
    private Integer isUrgent;

    @Schema(description = "申请部门", example = "20190")
    private Long deptId;

    @Schema(description = "需求类型", example = "22746")
    private String demandTypeId;

    @Schema(description = "税额合计")
    private BigDecimal totalTax;

    @Schema(description = "价税合计")
    private BigDecimal totalTaxAmount;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "采购申请单明细列表")
    private List<ErpPurchaseRequestItemsDO> purchaseRequestItemss;

}